Skip to content

ci: point publish at the reusable workflow's canonical repo - #1035

Merged
leoafarias merged 1 commit into
mainfrom
ci/fix-moved-reusable-workflow-ref
Aug 19, 2026
Merged

ci: point publish at the reusable workflow's canonical repo#1035
leoafarias merged 1 commit into
mainfrom
ci/fix-moved-reusable-workflow-ref

Conversation

@leoafarias

Copy link
Copy Markdown
Member

Publishing has been broken since the org move

Tagging mix_generator-v2.2.0-beta.3 produced a run with zero jobs, no logs, and no API-visible error. Only the web UI showed why:

Invalid workflow file: .github/workflows/publish.yml#L16
error parsing called workflow ".github/workflows/publish.yml" ->
"btwld/dart-actions/.github/workflows/publish.yml@main" : workflow was not found

Why it was hard to see

btwld/dart-actions still resolves through the REST APIgh api repos/btwld/dart-actions returns the repo and its publish.yml, because the API follows repository redirects. I verified the file existed and its workflow_call inputs still matched, and concluded the reusable workflow was fine.

It isn't. The Actions reusable-workflow resolver does not follow repo redirects. The canonical name is now conceptadev/dart-actions, and uses: must say so literally.

Because the reference fails to resolve, the entire workflow is rejected before any job is created. That produces the confusing signature: run marked failed, referenced_workflows: [], zero jobs, nothing to log, and the run's name falling back to the file path instead of Publish to pub.dev.

Fix

All six callers now point at conceptadev/dart-actions. Confirmed the target exists under the canonical name and the caller YAML still parses with 6 jobs.

Deliberately not changed

  • btwld/* links in README.md / AGENTS.md — those are web URLs and GitHub redirects them fine. Cosmetic, not worth the churn here.
  • add_to_ai_initiatives_board.yml references orgs/btwld/projects/6. The btwld org still exists, so I've left it rather than guess at the correct project.

What this unblocks

mix 2.2.0-beta.5, mix_generator 2.2.0-beta.3, and mix_chart 0.0.1-beta.2 are all version-bumped, changelogged, and pass dart pub publish --dry-run with 0 warnings. Nothing has been published yet. Once this merges, re-pushing the tags should publish for real.

Separately, pub.dev's automated-publishing config was audited for all seven packages (mix, mix_generator, mix_annotations, mix_chart, mix_lint, remix, naked_ui) — every repository field already correctly says conceptadev/*, so nothing needed changing there.

Publishing has been silently broken since the org move. GitHub's REST API
follows repository redirects, so btwld/dart-actions still resolves when you
query it by hand, but the Actions reusable-workflow resolver does not:

  Invalid workflow file: .github/workflows/publish.yml#L16
  error parsing called workflow ".github/workflows/publish.yml" ->
  "btwld/dart-actions/.github/workflows/publish.yml@main" : workflow was not found

The whole workflow is rejected before any job is created, which is why a tag
push produced a run with zero jobs, no logs, and no annotation surfaced through
the API. Only the web UI showed the parse error.

Point all six callers at conceptadev/dart-actions, the current canonical name.

The btwld/* links in README.md and AGENTS.md are left alone: those are web URLs
and GitHub redirects them correctly.
@github-actions github-actions Bot added the repo label Aug 19, 2026
@leoafarias
leoafarias merged commit 46d827d into main Aug 19, 2026
5 checks passed
@leoafarias
leoafarias deleted the ci/fix-moved-reusable-workflow-ref branch August 19, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant